# Contributor: Galen Abell <galen@galenabell.com>
# Maintainer: Galen Abell <galen@galenabell.com>
pkgname=blackbox
pkgver=1.20200429
pkgrel=0
pkgdesc="Safely store secrets in Git/Mercurial/Subversion"
url="https://github.com/StackExchange/blackbox"
arch="noarch"
depends="bash gnupg"
options="!check" # no tests
license="MIT"
source="$pkgname-$pkgver.tar.gz::https://github.com/StackExchange/blackbox/archive/v$pkgver.tar.gz"

package() {
	# Makefile doesn't create directories
	mkdir -p "$pkgdir"/bin/

	make PREFIX="$pkgdir" copy-install
}
sha512sums="afa8fec6abbaf3485f4df15993c8eb5e2903c8d1a1fe427b9362c89d49ef68c474d226cfa899a80d12fd8b8d570349a09d8a61bfc4b5559ab4ae3d836780175f  blackbox-1.20200429.tar.gz"
